//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamScheduleActDto;
//import java.io.Serializable;
//import org.springframework.stereotype.Service;
//import com.rt.schedulebase.service.IExamScheduleActService;
//import com.rt.schedulebase.entity.ExamScheduleAct;
//import com.rt.schedulebase.mapper.ExamScheduleActMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//@Service("ExamScheduleActServiceImpl_v2")
//public class ExamScheduleActServiceImpl extends ServiceImpl<ExamScheduleActMapper, ExamScheduleAct> implements IExamScheduleActService
//{
//@Override
//    public boolean insertSelective(final ExamScheduleAct examScheduleAct) {
//        return this.retBool(Integer.valueOf(((ExamScheduleActMapper)this.baseMapper).insert(examScheduleAct)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamScheduleActMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final ExamScheduleAct examScheduleAct) {
//        return this.retBool(Integer.valueOf(((ExamScheduleActMapper)this.baseMapper).updateById(examScheduleAct)));
//    }
//
//@Override
//    public ExamScheduleAct selectByPrimaryKey(final String key) {
//        return (ExamScheduleAct)((ExamScheduleActMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<ExamScheduleAct> getList(final ExamScheduleActDto dto) {
//        final QueryWrapper<ExamScheduleAct> qw = (QueryWrapper<ExamScheduleAct>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("SCHEDULED_ID", dto.getScheduledId());
//        map.put("APPLY_NO", dto.getApplyNo());
//        map.put("TERMINAL_TYPE", dto.getTerminalType());
//        map.put("ACT_TYPE", dto.getActType());
//        qw.allEq((Map)map, false);
//        final List<ExamScheduleAct> list = (List<ExamScheduleAct>)((ExamScheduleActMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<ExamScheduleAct> getListAll() {
//        return (List<ExamScheduleAct>)((ExamScheduleActMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final ExamScheduleAct examScheduleAct) {
//        final UpdateWrapper<ExamScheduleAct> uw = (UpdateWrapper<ExamScheduleAct>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamScheduleActMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final ExamScheduleAct examScheduleAct) {
//        final UpdateWrapper<ExamScheduleAct> uw = (UpdateWrapper<ExamScheduleAct>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamScheduleActMapper)this.baseMapper).update(examScheduleAct, (Wrapper)uw)));
//    }
//
//@Override
//    public ExamScheduleAct getInfo(final ExamScheduleActDto dto) {
//        final QueryWrapper<ExamScheduleAct> qw = (QueryWrapper<ExamScheduleAct>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("SCHEDULED_ID", dto.getScheduledId());
//        map.put("ACT_TYPE", dto.getActType());
//        qw.allEq((Map)map, false);
//        return (ExamScheduleAct)((ExamScheduleActMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
